//
//  MKCombineInfo.h
//  YangDongXi
//
//  Created by 杨鑫 on 16/1/12.
//  Copyright © 2016年 yangdongxi. All rights reserved.
//

//
#import "MKSettlementInfo.h"
#import "MKShopInfoObject.h"
#import "MKCouponObject.h"


typedef NS_OPTIONS(NSUInteger, MKCOMBINE) {
    MKCombineCourier,
    MKCombineSupportPickUp,
    MKCombineSupportDelivery,
    MKCombineSupportFlash,
};

@interface MKCombineInfo : MKBaseObject
/* @brief 0:门店配送不支持，1:门店配送支持*/
@property (nonatomic,strong)NSString *supportDelivery;

/* @brief 0:门店自提不支持，1:门店自提支持*/
@property (nonatomic,strong)NSString *supportPickUp;

/* @brief 结算的信息类对象*/
@property (nonatomic,strong)MKSettlementInfo *settlementInfo;

/* @brief 门店类对象*/
@property (nonatomic,strong)MKStoresObject *storeInfo;

/* @brief 当前店铺的配送方式*/
@property (nonatomic,assign)MKCOMBINE combine;

/* @brief 店铺类对象*/
@property (nonatomic,strong)MKShopInfoObject *shopInfo;

//自定义属性 用来记录确认订单 用户选择的数据
/* @brief 选择该店铺所使用的优惠劵对象*/
@property (nonatomic,strong)MKCouponObject *coupon;

/* @brief 提货人姓名*/
@property (nonatomic,strong)NSString *nameString;

/* @brief 联系电话*/
@property (nonatomic,strong)NSString *phoneString;

/* @brief 提货时间*/
@property (nonatomic,strong)NSString *timeString;

/* @brief 备注留言*/
@property (nonatomic,strong)NSString *messageText;

/* @brief 当前店铺小计*/
@property (nonatomic,strong)NSString *subtotal;

/* @brief 当前的店铺套装小计*/
@property (nonatomic,strong)NSString *unitPrice;

/* @brief 当前的店铺优惠劵最多抵消多少元*/
@property (nonatomic,strong)NSString *offsetPrice;

/* @brief 当前的店铺优惠劵最多抵消多少元是否显示*/
@property (nonatomic,assign)BOOL isShow;

/* @brief 当前店铺满减*/
@property (nonatomic,strong)NSString *reduction;

/* @brief 当前门店结算需要传的商品*/
@property (nonatomic,strong)NSMutableArray *settlementArray;

@property (nonatomic,strong)NSString *coupon_no;
@property (nonatomic,assign)NSInteger discount_amount;
@property (nonatomic,strong)NSString *third_id;
@property (nonatomic,strong)NSMutableArray *lstShanSongTime;



+ (NSString *)combineStringWithMKCombine:(MKCOMBINE)combine;
+ (NSString *)priceString:(NSInteger)price;
@end
